<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html>
<head>
    <title>新增用户</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script src="jquery-3.1.1.min.js"></script>
    <script src="events.js"></script>
</head>
<body>
    <h1>Forks example</h1>
    <hr/>
    <form method="post" action="user">
    <table class="gridtable">
        <tr>
            <th>ID</th>
            <td><input name="user.id"></td>
        </tr>
        <tr>
            <th>姓名</th>
            <td><input name="user.name"></td>
        </tr>
        <tr>
            <th>年龄</th>
            <td><input type="number" min="1" max="120" name="user.age"></td>
        </tr>
        <tr>
            <th>生日</th>
            <td><input type="date" name="user.birthday"></td>
        </tr>
        <tr>
            <th>ID</th>
            <td><input type="submit"></td>
        </tr>
    </table>
    </form>
</body>
</html>